package com.system.elastic.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName tb_seckill_time
 */
@TableName(value ="tb_seckill_time")
@Data
public class TbSeckillTime implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 秒杀分类名字,双十一秒杀，每日时段秒杀等
     */
    @TableField(value = "name")
    private String name;

    /**
     * 开始时间
     */
    @TableField(value = "starttime")
    private Date starttime;

    /**
     * 
     */
    @TableField(value = "endtime")
    private Date endtime;

    /**
     * 秒杀时长,按小时计算
     */
    @TableField(value = "total_time")
    private Double totalTime;

    /**
     * 是否启用，1：启用，2：停用
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 
     */
    @TableField(value = "sort")
    private Integer sort;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}